//
//  CustomAlert.h
//  AlertTest
//
//  Created by TGBUS on 12-7-26.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

@protocol CustomAlertDelegate <NSObject>

-(void)customAlertYES:(NSNumber *)index;

@end
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@interface CustomAlert : UIView

@property(nonatomic,retain)id<CustomAlertDelegate> delegate;

-(id)initWithMessage:(NSString *)message;

-(void)show;

@end
